package com.ts.api.common.redis;

import com.gitee.apanlh.util.cache.redis.RedisKeyBuilder;
import com.gitee.apanlh.util.cache.redis.api.RedisString;
import org.springframework.stereotype.Component;

/**
 *  短信Redis相关
 *  @author Pan
 */
@Component
public class SmsRedisKey {

    /** 有效期三分钟 */
    public static final RedisString PHONE_CODE = RedisKeyBuilder.builder().withKeys("sms", "code").buildString();
    /** 次数 */
    public static final RedisString PHONE_COUNT = RedisKeyBuilder.builder().withKeys("sms", "count").buildString();


}
